package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮胎用户消息中心对象 luntai_message
 * 
 * @author ruoyi
 * @date 2025-02-17
 */
public class LuntaiMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 消息类型 1通知 2警告 。。。 */
    @Excel(name = "消息类型 1通知 2警告 。。。")
    private Integer type;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String info;

    /** 用户id */
    @Excel(name = "用户id")
    private Integer userId;

    /** 门店id */
    @Excel(name = "门店id")
    private Integer storeId;

    /** 是否已读 0否1是 */
    @Excel(name = "是否已读 0否1是")
    private Integer isread;

    /** 是否删除 0否1是 */
    @Excel(name = "是否删除 0否1是")
    private Integer isdelete;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setInfo(String info) 
    {
        this.info = info;
    }

    public String getInfo() 
    {
        return info;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setStoreId(Integer storeId) 
    {
        this.storeId = storeId;
    }

    public Integer getStoreId() 
    {
        return storeId;
    }
    public void setIsread(Integer isread) 
    {
        this.isread = isread;
    }

    public Integer getIsread() 
    {
        return isread;
    }
    public void setIsdelete(Integer isdelete) 
    {
        this.isdelete = isdelete;
    }

    public Integer getIsdelete() 
    {
        return isdelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("title", getTitle())
            .append("info", getInfo())
            .append("userId", getUserId())
            .append("storeId", getStoreId())
            .append("isread", getIsread())
            .append("isdelete", getIsdelete())
            .append("createTime", getCreateTime())
            .toString();
    }
}
